package kr.hkit.powerjava.chapter05;

public class 정수타입 {
	public static void main(String[] args) {
		System.out.println("byte :"+ Byte.MIN_VALUE+ " ~ " +Byte.MAX_VALUE);
		System.out.println("short : "+ Short.MIN_VALUE+ " ~ "+Short.MAX_VALUE);
		System.out.println("int : "+ Integer.MIN_VALUE+ " ~ "+Integer.MAX_VALUE);
		System.out.println("long : "+Long.MIN_VALUE+" ~ "+Long.MAX_VALUE);
		
		System.out.println("float : "+Float.MIN_VALUE+" ~ "+Float.MAX_VALUE);
		System.out.println("Double : "+Double.MIN_VALUE+" ~ "+Double.MAX_VALUE);
		
		byte test;
		test = (byte) 300;
		System.out.println(test);
		int x = 1;
		System.out.println(x++*2);
	}
}
